/*------------------reset---------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input{
  margin: 0;
}
/*----------------main------------------------*/
body{
  font-family: Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a{
  color: #1d63d6;
}

b{
  font-weight: bolder;
}

dt{
  font-weight: bolder;
}

dd{
  padding: 0 0 5px 15px;
}

h2{
  line-height: 26px;
  font-size: 22px;
  color: #666;
  margin-bottom: 5px;
}
h3{
  line-height: 26px;
  font-size: 18px;
  color: #666;
  margin: 5px 0;
}
/* ==== header ==== */
#header-wrapper{
  background: url("/i/main-menu-bg-sprite.png") repeat-x scroll 0 148px transparent;
  min-width: 850px;
  width: 100%;
}
#header{
  margin: 0 auto 25px;
  max-width: 1200px;
  overflow: hidden;
  width: 95%; 
}
#logo{
  margin: 8px 0 0 8px;
  float: left;
}
#logo-text{
  float: left;
  color: #ccc;
  margin: 40px 0 0 10px;
  font-size: 16px;
}
#logo-text h1{
  color: #456;
  font-size: 24px;
}

#main-menu{
  background: url("/i/main-menu-bg-sprite.png") repeat-x;
  float: right;
  font-size: 15px;
  height: 40px;
  margin-top: 15px;
  text-shadow: -1px -1px #323842;
  width: 100%;
}
#main-menu ul {
  margin-left: 120px;
}
#main-menu li {
  display: block;
  float: left;
  height: 40px;
  line-height: 40px;
  list-style: none outside none;
  margin: 0 1px;
}
#main-menu a {
  color: #fff;
  margin: 0 20px;
  text-decoration: none;
}
#main-menu li:hover {
  background: url("/i/main-menu-bg-sprite.png") 0px -40px repeat-x;
}
#main-menu span {
  background: url("/i/main-menu-bg-sprite.png") 0px -40px repeat-x;
  color: #fff;
  display: block;
  line-height: 40px;
  padding: 0 20px;
}

/* ==== content ==== */
#flash_error{
  background: url("/i/icons/error.png") no-repeat #f9f9f9  9px 7px ;
}
#flash_notice{
  background: url("/i/icons/check.png") no-repeat #f9f9f9  9px 7px ;
}
.flash{
  border: 1px solid #b1b1b1;
  border-top: 0px;
  padding: 10px;
  color: #454545;
  display: inline-block;
  position: fixed;
  top: 0;
  left: 30%;
  width: 500px;
  border-radius: 0px 0px 7px 7px;
  -moz-border-radius: 0px 0px 7px 7px;
  -webkit-border-radius: 0px 0px 7px 7px;
}
.flash span{
  margin-left: 30px;
}

#content{
  margin: 30px auto 0;
  max-width: 1200px;
  min-width: 850px;
  width: 90%; 
}

#text{
  float: left;
  clear: left;
  width: 66%;
  margin-bottom: 40px;
}

#sidebar{
  float: left;
  margin-bottom: 90px;
  width: 29%;
}

.reg-header, .login-header{
  color: #666;
  font-size: 22px;
  display: block;
  left: 54%;
  margin-bottom: 15px;
  position: relative;
}

.login-header{
  left: 61%;
}

.category-header{
  color: #6da3bd
}
#category-name{
  color: #7ab;
  font-size: 24px;
}
#category-list{
  color: #727272;
  display: block;
  margin-left: 20px;
}
#category-list h3{
  margin: 0;
}
#category-list table{
  margin-left: 22px;
  width: 95%;
}
.category-count{
  text-align: center;
}
.category-description{
  color: #fff;
  position: absolute;
  width: 400px;
  opacity: 0.9;
  background: #6da3bd;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  padding: 15px;
  display: none;
}
.post{
  margin-bottom: 80px;
  color: #000;
}
.post-header{
  color: #666;
}
.post-preview, .post-text{
  margin-top: 20px;
}
.post p{
  margin: 5px 0;
}
.post ul {
  list-style: outside circle none;
  margin-left: 20px;
}

.post ol {
  list-style: outside decimal none;
  margin-left: 20px;
}

/*== post-about ==*/
.post-about{
  color: #ccc;
  display: inline-block;
  font-size: 11px;
  float: left;
  margin: 7px 0;
  border: solid 1px #b1b1b1;
  padding: 5px 20px;
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}
.post-about div{
  display: inline;
  margin: 0 3px;
  padding: 2px 0;
  vertical-align: bottom;
}
.post-about div span{
  margin-left: 19px;
}
.post-about a{
  text-decoration: none;
}
.autor{
  background: url("/i/icons/user.png") no-repeat;
}
.published{
  background: url("/i/icons/date.png") no-repeat;
}
.comments-count{
  background: url("/i/icons/comments.png") no-repeat;
}
/*== comments ==*/
.comments{
  margin-left: 20px;
}
.comment{
  margin-bottom: 10px;
  font-size: 13px;
}
.comment-data .autor{
  padding-left: 20px;
}
.comment-data{
  color: #666;
}
.comment-text{
  font-size: 14px;
  margin-left: 10px;
}
#add-comment{
  margin-left: 20px;
}
#add-comment textarea{
  width: 370px;
  height: 110px;
}
#add-comment input[type=submit]{
  margin-top: 5px;
  display: block;
}
#add-comment label{
  color: #ccc;
  margin: 0 5px;
  position: absolute;
  display: none;
}
/*== forms ==*/
.form{
  background: #f9f9f9;
  border: 1px solid #b1b1b1;
  padding: 10px;
  color: #454545;
  display: inline-block;
  border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

.form input[type="submit"], #add-comment input[type=submit]{
  background-color: #e5e6e1;
  border: 1px solid #bdbdbd;
  color: #000;
  font-family: arial;
  font-weight: bold;
  line-height: 100%;
  padding: 3px 8px;
  text-decoration: none;
}
.form input[type="text"], .form input[type="password"]{
    border: 1px solid #b1b1b1;
    margin-right: 10px;
    width: 175px;
}

.error_list li{
  background: url("/i/icons/warning.png") no-repeat;
  padding-left: 20px;
  color: #f00;
}
.global-error{
  padding: 10px;
  text-align: center;
}
.global-error li{
  display: inline;
}
/*== sign in ==*/
.signin{
  float: right;
  font-size: 12px;
  margin-top: 15px;
}
.signin input[type="text"], .signin input[type="password"]{
  width: 142px;
}
.signin input[type="checkbox"]{
  margin: 2px 3px 0 0;
}
.signin-footer label, .signin-footer a{
  position: relative;
  top: -2px;
} 

/*== full sign in==*/
.signin-full{
  margin-bottom: 40px;
  position: relative;
  left: 40%;
  font-size: 14px;
}

.signin-full input[type="text"], .signin-full input[type="password"]{
  margin: 10px;
}
.signin-full input[type="checkbox"]{
  margin: 5px 3px 0 10px 
}
.signin-full input[type="submit"]{
  margin: 5px 5px 5px 10px;
}
/*== register ==*/
.register{
  position: relative;
  left: 40%;
}
.register input[type="text"], .register input[type="password"]{
  margin: 10px;
}
.register input[type="submit"]{
  margin: 10px;
}
/* == pager == */
#pager ul{
  clear: both;
  font-size: 19px;
  color: #456;
}
#forward-back li{
  margin-right: 14px;
  float: left;
}
#number-page{
  margin-left: 24px;
}
#number-page li{
  margin-right: 7px;
  float: left;
}
#number-page span{
  background: none repeat scroll 0 0 #e5e6e1;
  padding: 3px;
}
/* ==== footer ==== */
#footer{
  background: #f6f6f6;
  border-top: dotted #6da3bd 1px;
  clear: both;
  color: #456;
  margin: 0 auto;
  min-width: 850px;
  height: 100px;
  text-align: center;
  width: 100%;
}